package com.website.system.model.vo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.website.system.model.ComputerCategory;
import org.springframework.data.annotation.Transient;

import java.util.Date;

public class ComputerVO {

    private Integer id;
    @TableField("category_id")
    private Integer categoryId;
    private String  item;
    private String  title;
    private String  point;
    private Integer price;
    private Integer num ;
    @TableField("picture_url")
    private String  pictureUrl;
    @TableField("picture_id")
    private String  pictureId;
    private Integer status;
    @TableField("created_time")
    private Date createdTime;
    @TableField("modified_time")
    private Date modifiedTime;
    @TableField("created_user")
    private String createdUser;

    private  String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getItem() {
        return item;
    }

    public void setItem(String item) {
        this.item = item;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPoint() {
        return point;
    }

    public void setPoint(String point) {
        this.point = point;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getPictureUrl() {
        return pictureUrl;
    }

    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }

    public String getPictureId() {
        return pictureId;
    }

    public void setPictureId(String pictureId) {
        this.pictureId = pictureId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public String getCreatedUser() {
        return createdUser;
    }

    public void setCreatedUser(String createdUser) {
        this.createdUser = createdUser;
    }

    @Override
    public String toString() {
        return "ComputerVO{" +
                "id=" + id +
                ", categoryId=" + categoryId +
                ", item='" + item + '\'' +
                ", title='" + title + '\'' +
                ", point='" + point + '\'' +
                ", price=" + price +
                ", num=" + num +
                ", pictureUrl='" + pictureUrl + '\'' +
                ", pictureId='" + pictureId + '\'' +
                ", status=" + status +
                ", createdTime=" + createdTime +
                ", modifiedTime=" + modifiedTime +
                ", createdUser='" + createdUser + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
